import fetch from '@/config/fetch.js'

//获取名帖详情
export const getCardDetail = (data) => fetch('/card/detailsCard', data,'GET');

//获取背景音乐
export const getMusic = (icardid) => fetch('/media/getMediaByCid', {icardid:icardid},'GET');
//名帖列表
export const cardLists = () => fetch('/card/findCardByUid', {
	uid:sessionStorage.uid
},'GET');

//关注与取消关注
export const Focus = (url,data) => fetch(url, data,'POST');

//收藏与取消收藏
export const Collect = (url,data) => fetch(url, data,'POST');
//申请成为下属
export const apply = (url,data) => fetch(url,data,'POST')



